feat(database)!: introduce eloquent-style ORM layer and refactor clause handling#1
Open
mdalaminbey wants to merge 6 commits intomasterfrom
Open
feat(database)!: introduce eloquent-style ORM layer and refactor clause handling#1mdalaminbey wants to merge 6 commits intomasterfrom
mdalaminbey wants to merge 6 commits intomasterfrom
Conversation
…se handling Add Collection and a full Eloquent-style model layer including HasAttributes, GuardsAttributes, HasRelationships, HasTimestamps, HasEvents, and HasFactory concerns. Enhance Model with relationship support, factories, seeders, pagination, query grammar, and schema components. Include related test fixtures and mocks. Refactor Clause, Having, On, and Where traits: - Relax "in" method array type hints to accept non-array inputs - Update Join::on to support closures and column-to-column comparisons with boolean operators - Standardize clause helper parameters - Improve inline documentation Remove and reorganize legacy relation and test files as part of the database layer restructuring. BREAKING CHANGE: clause APIs and Join::on signature have changed, and the database layer now follows a new ORM-based architecture.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Collection and a full Eloquent-style model layer including
HasAttributes, GuardsAttributes, HasRelationships,
HasTimestamps, HasEvents, and HasFactory concerns.
Enhance Model with relationship support, factories, seeders,
pagination, query grammar, and schema components.
Include related test fixtures and mocks.
Refactor Clause, Having, On, and Where traits:
Remove and reorganize legacy relation and test files
as part of the database layer restructuring.
BREAKING CHANGE: clause APIs and Join::on signature have changed,
and the database layer now follows a new ORM-based architecture.